
#include "BdItemDetaillerData.h"

BdItemDetaillerData::BdItemDetaillerData() 
{
  mRenderAsWidgetFlag=false;
}

BdItemDetaillerData::~BdItemDetaillerData()
{
}

void BdItemDetaillerData::setTitle(QString theTitle)
{
  mTitle=theTitle;
}

void BdItemDetaillerData::setDetail(QString theDetail)
{
  mDetail=theDetail;
}

void BdItemDetaillerData::setIcon(QPixmap theIcon)
{
  mPixmap = theIcon;
}
void BdItemDetaillerData::setCheckable(bool theFlag)
{
  mCheckableFlag = theFlag;
}
void BdItemDetaillerData::setChecked(bool theFlag)
{
  mCheckedFlag = theFlag;
}
void BdItemDetaillerData::setRenderAsWidget(bool theFlag)
{
  mRenderAsWidgetFlag = theFlag;
}

QString BdItemDetaillerData::title()
{
  return mTitle;
}

QString BdItemDetaillerData::detail()
{
  return mDetail;
}

QPixmap BdItemDetaillerData::icon()
{
  return mPixmap;
}

bool BdItemDetaillerData::isCheckable()
{
  return mCheckableFlag;
}

bool BdItemDetaillerData::isChecked()
{
  return mCheckedFlag;
}

bool BdItemDetaillerData::isRenderedAsWidget()
{
  return mRenderAsWidgetFlag;
}

